<?php
header('Content-Type:text/html;charset=utf-8');




function C( $ConfigInfo = null ){

	$Config = include './config.php';

	if( is_array( $ConfigInfo ) ){
		$temp = array();
		foreach ($ConfigInfo as $v) {
			if( !isset( $Config[$v] )){
				continue;
			}else{
				$temp[$v] = $Config[$v];
			}
		}
		if(  !$temp ){
			return '数组的东西不存在啊';
		}
		return $temp;
	}
	if( $ConfigInfo == null ){
		return $Config;
	}elseif( isset( $Config[$ConfigInfo] ) ){
		return $Config[$ConfigInfo];
	}else{
		return '单个的不存在啊';
	}

	
	

}
var_dump( C(array( 'SITE_NAME','ssdad' ) ));
?>